from pyboot.utils.db import db


def select_platform_by_name(name):
    return db.fetch_all("SELECT * FROM ey_platform WHERE name=%s", (name,))
